package com.ruoyi.insect.mapper;

import java.util.List;
import com.ruoyi.insect.domain.DiseaseRecord;

/**
 * 历史记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public interface DiseaseRecordMapper {
    /**
     * 查询历史记录
     */
    public List<DiseaseRecord> selectDiseaseRecordList(DiseaseRecord diseaseRecord);

    /**
     * 通过ID查询历史记录
     */
    public DiseaseRecord selectDiseaseRecordById(Long id);

    /**
     * 新增历史记录
     */
    public int insertDiseaseRecord(DiseaseRecord diseaseRecord);

    /**
     * 修改历史记录
     */
    public int updateDiseaseRecord(DiseaseRecord diseaseRecord);

    /**
     * 删除历史记录
     */
    public int deleteDiseaseRecordById(Long id);

    /**
     * 批量删除历史记录
     */
    public int deleteDiseaseRecordByIds(Long[] ids);
}
